{{useCss "/app-pages/css/user/reply.scss"}}
<div class="reply">
	<div class="pagetitle">
		我发出的回复
	</div>
	<div class="list">
		{{#if $Cache.user.reply.list.length}}
		{{#each $Cache.user.reply.list}}
		<div class="item">
			<div class="title">回复话题：<href to="/article.html?_id={{post_id}}">{{post_name}}</href></div>
			<div class="content">{{content}}</div>
			<div class="time">发表于：{{#Time createtime}}，
				<href to="/postlist.html?_module={{_module}}">
					<label class="_module" title="版块：{{_module_name}}">{{_module_name}}</label>
				</href>
			</div>
			<div class="method">
				<a title="删除回复" event-click="{{'$Top.$Event.user.reply.delete'}}">删除</a>
			</div>
		</div>
		{{/each}}
		<div class="pagebox">
            <a class="button icon-angle-left" event-click="{{'$Event.user.reply.prePage'}}"></a>
            {{#each $Cache.user.reply.pages}}
            <href to="/user/reply.html?page={{$Index}}&num={{$Top.$Cache.user.reply.page_num}}" class="{{($Top.$Cache.user.reply.current_page==$Index)&&'focus'}}">{{$Index+1}}</href>
            {{/each}}
            <a class="button icon-angle-right" event-click="{{'$Event.user.reply.nextPage'}}"></a>
        </div>
		{{#else}}
		<div class="item"></div>
		{{/if}}
	</div>
</div>